package com.smart.sentinel.consumer.service.feign;

import com.smart.sentinel.consumer.service.feign.fallback.ProviderFeignServiceBack;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient(value = "cloud-alibaba-sentinel-provider", fallback = ProviderFeignServiceBack.class)
public interface ProviderFeignService {
    @GetMapping("/provider")
    String provider();
}
